Search results
39 packages found
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
Guard a function using a predicate
Type predicate functions for checking if a value is of a specific type or asserting that it is.
A configurable defensive programming utility to guard against non-function values
ACL nestjs module functionality using casbin package
The definitive collection of is* functions for runtime type checking. Lodash-compatible, tree-shakable, with types.
An Angular guard that executes functional guards in a serial manner, waiting for each one to complete before proceeding to the next.
function helpers for typescript
wraps the original function with error-handling logic
Dynamic Function Definition, using map pattern guard something.
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
A small set of functions to check value against a specific type
- type
- check
- guard
- isNumber
- isArray
- isString
- checker
- isFinite
- undefined
- null
- primitive
- isFunction
- function
- isUndefined
TypeScript helper functions to narrow the type of object to a Node descendant
A tiny TypeScript type guard (predicate-function) for narrowing a DOM element by tag-name.
- typescript
- browser
- dom
- element
- HTMLElement
- html
- html element
- SVGElement
- MathMLElement
- svg element
- mathml element
- type
- type guard
- type predicate
- View more
Mixins that manage rendered CSS from modular importing
Helps you deny the existence of specified truthy values (e.g. 'someString', aParticularObject)
Mixin that manages rendered CSS content of seed packs
Helps you confirm the existence of specified falsy values (e.g. 0)
wraps a function in null/undefined guards. checks that all arguments have some value. shouldn't be used ifnull or undefined is acceptable for any arguments.